<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php echo $this->Html->charset(); ?>
        <title>
            <?php echo $title_for_layout; ?> - Panel administracyjny<?php echo Configure::read("Autoconfig.title"); ?>
        </title>
        <?php
        echo $this->Html->meta('icon');
        Optimiser::addJavascriptLibrary("js/jquery.min.js");
        Optimiser::addCssFile("css/admin.css");
        Optimiser::addCssFile("css/blueprint/screen.css", "screen, projection");
        Optimiser::addCssFile("css/blueprint/print.css", "print");

        echo Optimiser::saveJavascriptAndReturnHeadLink();
        echo Optimiser::saveCssAndReturnHeadLink();
        echo $scripts_for_layout;
        ?>
        <!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="/css/blueprint/ie.css" media="screen, projection" /><![endif]-->
    </head>
    <body>
        <div id="header">&nbsp;</div>
        <div class="container">
            <h1>Panel administracyjny Nowego Insimilionu</h1>
            <hr />
            <div class="span-18 prepend-1 colborder">
                <?php $flash = $this->Session->flash();
                if ($flash !== false)
                    echo($flash); ?>
                <?php echo $content_for_layout; ?><br /><br />
            </div>
            <div class="span-4 last">
                <?php echo $this->element('admin/menu'); ?>
                <hr />
                <?php
                echo $this->element('user_panel');
                ?>
            </div>
            <hr />
            <p style="text-align: center;">
                Powered by MarinesCMS based on <a href="http://www.cakephp.org/" target="_blank">CakePHP</a>. Copyright &copy; 2011 by Jędrzej Lewandowski. | <img src="/img/cake.power.gif" alt="CakePHP: the rapid development php framework" border="0" />
            </p>
            <hr />&nbsp;<br />&nbsp;<br />&nbsp;<br />&nbsp;
        </div>
<?php echo $this->element('sql_dump'); ?>
    </body>
</html> 